Skip to content

Fix: Handle macros in model properties when formatting#4144

Merged
themisvaltinos merged 2 commits intomainfrom
themis/format_macro
Apr 15, 2025
Merged

Fix: Handle macros in model properties when formatting#4144
themisvaltinos merged 2 commits intomainfrom
themis/format_macro

Conversation

@themisvaltinos
Copy link
Copy Markdown
Collaborator

@themisvaltinos themisvaltinos commented Apr 15, 2025

This fixes an issue in formatting model meta properties that have macro functions by handling them in _props_sql to account for macro funcs.

Relevant slack thread: https://tobiko-data.slack.com/archives/C044BRE5W4S/p1744698810151999?thread_ts=1741243847.726999&cid=C044BRE5W4S

@themisvaltinos themisvaltinos requested review from a team and georgesittas April 15, 2025 09:52
Comment thread sqlmesh/core/dialect.py Outdated
@themisvaltinos themisvaltinos merged commit 6386a93 into main Apr 15, 2025
22 checks passed
@themisvaltinos themisvaltinos deleted the themis/format_macro branch April 15, 2025 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants